package com.yuan.yblog.portal.dao.mapper;


import com.yuan.yblog.crud.entity.Comment;

import java.util.List;

/**
 * (Comment)表数据库访问层
 *
 * @author makejava
 * @since 2023-12-03 14:21:17
 */
public interface CommentDao {

    List<Comment> list(Long postId, Long userId, Long offset, Long pageSize, String sortKey, Boolean isDesc);

    Long countByPostIdOrUserId(Long postId, Long userId);

}

